<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title></title>   
		<s:include value="../../common/source.jsp"></s:include>
		<script src="js/Limit.js"></script>	
			
  </head>
  
  <body>
  <script>
/* document.write(extArray.join("  ")); */
</script>
  <div class="body">
    <form class="sui-form form-horizontal sui-validate" action="teacher/addStuAwa.action" method="post"  onsubmit="return LimitAttach(form, file) "  enctype="multipart/form-data">
   <table class="sui-table table-vzebra table0">
                    <tbody>
                      <tr>
                        <td>奖励名称</td>
                        <td> <input type="text" class="input-large"  name="stuaward.awaname" data-rules="required"> </td>
                      </tr>
                        <tr>
                        <td>获奖等级</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value=0 name="stuaward.awalevel" type="hidden" data-rules="required"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>特等奖</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>一等奖</a></li>
                   <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=2>二等奖</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=3>三等奖</a></li>               
                </ul>
              </span>
            </span>
          </div> </td>
                      </tr>
                      
                      <tr>
                        <td>获奖级别</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value=0 name="stuaward.awakind" type="hidden" data-rules="required"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>国家级</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>省部级</a></li>
                   <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=2>厅局级</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=3>校级</a></li>               
                </ul>
              </span>
            </span>
          </div> </td>
                      </tr>
                       <tr>
                        <td>授奖单位</td>
                        <td>  <input type="text" class="input-large"  name="stuaward.department" data-rules="required">  </td>
                      </tr>
                      <input type="text" name="stuId2" value="<s:property value="stuId"/>" style="display:none;">
                    </tbody>
                  </table>
  <div class="control-group button3">
          <label class="control-label v-top"></label>
          <div class="controls ">
            <button type="submit" class="sui-btn btn-primary" onclick="return LimitAttach(this.form, this.form.fileCom.value)">提交</button>
            <button type="reset" class="sui-btn">重置</button>
          </div>
        </div>
  </form>
   </div>
   <script>
   if("<s:property value="suc"/>"=="success"){
   alert("添加科技奖励成功！！！");
   }
   </script>
  </body>
</html>
